package com.zxj.pojo.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_car_comment")
@ApiModel(value="汽车评论", description="汽车评论表")
public class TbCarComment {

  private long id;
  private long clientId;
  @TableField(value = "carId")
  private long carId;
  private String content;
//  private java.sql.Timestamp addtime;
  private long useNum;


  @TableField(exist = false)
  private TbClient tbClient;
  @TableField(exist = false)
  private TbCar tbCar;



  @ApiModelProperty(value ="维修时间")
  @TableField(fill = FieldFill.INSERT) //插入时执行
  private Date addtime;

}
